/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.PhuLai_DAO;
import DTO.PhuLai_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class PhuLai_BUS {
    public static String Get_IDPL() throws SQLException{
        return PhuLai_DAO.Get_IDPL();
    }
    public static ArrayList<PhuLai_DTO> GetALL(){
        return PhuLai_DAO.GetALL();
    }
    public static boolean Insert(PhuLai_DTO PhuLai){
        return PhuLai_DAO.Insert(PhuLai);
    }
    public static boolean Update(PhuLai_DTO PhuLai){
        return PhuLai_DAO.Update(PhuLai);
    }   
    public static boolean Delete(String ID_PL){
        return PhuLai_DAO.Delete(ID_PL);
    }
}
